<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<script type="text/javascript">
function createDiv(ev)
{
			ev = ev || window.event;
		if(ev.pageX || ev.pageY)
		{
			var locate = document.createElement('div');
			locate.style.border = "1px solid black";
			locate.style.width ="20px";
			locate.style.height ="30px";
			locate.style.position = "absolute";
			locate.style.top = ev.pageY+"px";
			locate.style.left = ev.pageX+"px";
			locate.style.display = "block";
			
			document.body.appendChild(locate);
			
			}
}
</script>
<style type="text/css">
html,body {
	height: 100%;
	width: 100%;
}
</style>
</head>
<body onclick="createDiv(event)">

</body>
</html>